Forum Activity for @pch

pch
@pch
08/08/19 10:55:33AM
328 posts

tifig software error in the System Check.


Installation and Configuration

Hi Michael. Thanks for the reply.

Well, I can't find the location of the tifig on the server. How to know whether it is even enable or not and how to enable/install it on the server? I have root access through SSH.

Is there any other solution to fix this tifig error in the JR System Check apart from adding this line to /data/config/config.php?

Thanks.
pch
@pch
08/08/19 12:23:58AM
328 posts

403 Forbidden error after server migration


Installation and Configuration

Dear @michael

Thank you so much. You saved my life. It works! :)

I have copied the /modules directory from the working jamroom install (Lastest JR install) over to the non-working install (migration using my backup). Same with the /.htaccess file.

One more thing I had to do is to re-upload my other installed and paid module files (from the backup) to this new working modules folder. e.g.: jrAudio, jrComment, jrVideo, jrYouTube etc.

I renamed e.g:
/modules/jrAudio-version-1.2.5
to
/modules/jrAudio

and I deleted:
/modules/jrAudio-version-1.2.3
/modules/jrAudio-version-1.2.4

Then I updated them from the marketplace. I did it with all the paid modules. Everything is working fine now.

Please, could you tell me what was definately the cause of this issue? I have been doing server migrations and upgrages, I have never came across such a problem before.

Thanks for the support.
pch
@pch
08/07/19 11:15:54PM
328 posts

tifig software error in the System Check.


Installation and Configuration

Hello JR Team

I have uploaded the following files in binary mode:

convert
epeg
ffmpeg
id3v2
jpegoptim
sox
wget
tifig

Everything is showing green in the System Check except "tifig". It says:

tifig: executable : modules/jrSystemTools/tools/tifig is not working correctly.

Then I tried the short answer found in these forum posts:

https://www.jamroom.net/the-jamroom-network/documentation/howto/4641/howto-use-a-different-ffmpeg-binary
https://www.jamroom.net/the-jamroom-network/forum/new_posts/26187/configurable-jamroom-binary-executable
https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/30060/ffmpeg-question-how-to-use-a-different-ffmpeg-binary
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/61572/modules-not-working

in /data/config/config.php I added this line:

$_conf['jrCore_tifig_binary'] = '/usr/bin/tifig';

But nothing happened. I still have this tifig error: modules/jrSystemTools/tools/tifig is not working correctly

Please help. Any other solution?

Thanks
updated by @pch: 12/05/19 06:09:15AM
pch
@pch
08/07/19 11:04:21PM
328 posts

Do the PHP exec, passthru and shell_exec functions really need to be enable?


Installation and Configuration

Dear Brian,

Hi,

I have read somewhere on the internet that PHP exec(), passthru(), shell_exec() and system() functions should be disable to avoid security issues/risks.

I have enabled the system() function because it was required by Jamroom to run/install.

Now in the JR system check, I get this red flag:

Disabled Functions: exec, passthru, shell_exec :Disabled PHP Functions can impact system functionality.

Brian, in the following post you said: "The only one of those (functions) that Jamroom needs is the 'system' function".
https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/10812/i-get-a-white-screen-when-i-click

Question: Do the exec, passthru, shell_exec function really need to be enable in order to JR to run properly? Should I have to enable them or not? Is it safe?

Thanks
updated by @pch: 11/10/19 12:19:44PM
pch
@pch
07/29/19 04:40:04PM
328 posts

403 Forbidden error after server migration


Installation and Configuration

Hello @brian and @michael,

Thank you all for your replies. This is a very weird issue I am having. I have been migrating and upgrading server in the past within the same hosting company without any problem with Jamroom at all. It is for the first time i having this problem with Jamroom within the same hosting company.

I did some tests: I have tried to install a fresh copy of Jamroom (JR 6.3.0) in another sub-directory on the same server. The installation when well and Jamroom is working perfectly.

So i think that it is not a .htaccess restriction problem because this new installation is working fine. Also the server doesn't have any problem to work with scripts that don't have a default index.html or index.php file.

by the way, Mod mod-rewrite is enable and the server meets all the Jamroom requirements because this new JR installation is working perfectly.

Then I did another test:

if I upload the jrCore file taken from the JR 6.3.0 zip pack to my modules/ directory on the server where there is the site I have migrated, then the 403 erro disappears.

I suspect that it has something to deal with the jrCore module.

I have checked on the server (on the JR having problem):

There are many jrCore release from:

jrCore-release-6.1.1
to
jrCore-release-6.3.0b4

but unfortunately there is not any "jrCore" directory.

Isn't it the cause of my issue? because in the .htaccess it says:

DirectoryIndex modules/jrCore/router.php

not

DirectoryIndex modules/jrCore-release-6.3.0b4/router.php

Please help. I am lost with this issue. Even my hosting company can't figure out where is the problem.

Thanks in advance.
pch
@pch
07/23/19 11:37:06AM
328 posts

403 Forbidden error after server migration


Installation and Configuration

Yep Brian. Thanks :)

Here is the message that i received from the Hosting support team after openning a ticket:

-----------------------------

Hello,

This error just means the server doesn't know which file it should be serving when the site is running. There must always be a specific file the server used to load to serve up your website. Most of the time, it is by default named index.html, index.php (if it's a PHP script), or anything you want. But If it isn't named the common name, you then must let the server know which file to load (which is the function of DirectoryIndex). Even if previously you were just using https://www.mysitehere.com/jamroomdirectoryhere/ without a file name at the end, the server was always loading a specific file.

Looking at your current director, I am unclear what is your default site file suppose to be.

./ data/ favicon.ico install.php license.txt repair.php.html skins/
../ error_log .htaccess install.txt modules/ robots.txt

None of these files look to be a website default file. Please let us know what the main site file is and we can set the DirectoryIndex to use that as the default file.

Please let us know if you have any further questions.

xxxxxxxxx

-----------------------------

Well, I am very surprised why they are asking me to specify a default site file. I have just done a site migration from a server to another within the same Hosting Company. On my previous server (in the same hosting company) Jamroom was just installed fine and was working perfectly without me having to contact them to specify a default site file.

I am suspecting that it is a Apache setting ( httpd.conf) issue on my new VPS as read in these forum topics:

https://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server

https://stackoverflow.com/questions/10445455/apache-dont-have-permission-to-access-on-this-server-when-i-am-using-virtua

https://stackoverflow.com/questions/21551840/forbidden-you-dont-have-permission-to-access-on-this-server

Anyway, please can you tell me what is the default site file I should tell them to specify in the DirectoryIndex function?

Thanks.
pch
@pch
07/22/19 04:39:08PM
328 posts

403 Forbidden error after server migration


Installation and Configuration

Hey Brian.

Thanks for your reply. Long time! I am back. :)

No problem with Option #1. The .htaccess file is already in /jamroomdirectoryhere/.

Option #2 is more likely the solution to this issue because i remember that I created this directory using ftp.

By the way how to change the ownership so that the directory is owned by the Web User and not the FTP account? I am using WHM with cPanel.

Many Thanks
pch
@pch
07/22/19 02:27:59PM
328 posts

403 Forbidden error after server migration


Installation and Configuration

Hello I am having a weird issue after moving my Jamroom site from a server to another VPS.

I've followed all the server migration instructions, uploaded the files to the new server and edited the config.php file with the server/database details.

Jamroom is installed in a sub-directory but I am having the following error trying to access the site: mysitehere.com/jamroomdirectoryhere/

Forbidden
You don't have permission to access /jamroomdirectoryhere/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

In the Error log in cPanel, there is the following error:

[Mon Jul 22 20:12:28.751399 2019] [autoindex:error] [pid xxxx:tid xxxxxxxxxxxxxx] [client xxx.xxx.xx.xx:xxxx] AHxxxxx: Cannot serve directory /home/xxxxxx/public_html/jamroomdirectoryhere/: No matching DirectoryIndex (index.php,index.php5,index.php4,index.php3,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.jp,index.phtml,index.shtml,index.xhtml,index.html,index.htm,index.wml,Default.html,Default.htm,default.html,default.htm,home.html,home.htm,index.js) found, and server-generated directory index forbidden by Options directive.

I have contacted the web hosting company, they asked me to contact the script vendor because the site is missing a index.html file. I told them that Jamroom doesn't have a index file and the site was working just fine in my previous hosting plan of the same hosting company but they couldn't assist any further.

Please help me fix this issue.

Thanks in advance.
updated by @pch: 11/11/19 03:19:46AM
pch
@pch
09/28/17 09:43:55AM
328 posts

How to restore a JR site with the Database backup file only?


Installation and Configuration

Hi ultrajam,

Thanks for your reply. But... should I have to hack the file/code? I am restoring my site. How come the site was just working fine before with the Elastic skin and even with the custom skin without any hack in the include.php file?

Isn't there any fix without hacking the include.php file?

Thanks
  4